package com.bootdo.ztzb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.ztzb.dao.ZtzbProcessEmployeeDao;
import com.bootdo.ztzb.domain.ZtzbProcessEmployeeDO;
import com.bootdo.ztzb.service.ZtzbProcessEmployeeService;



@Service
public class ZtzbProcessEmployeeServiceImpl implements ZtzbProcessEmployeeService {
	@Autowired
	private ZtzbProcessEmployeeDao ztzbProcessEmployeeDao;
	
	@Override
	public ZtzbProcessEmployeeDO get(Long id){
		return ztzbProcessEmployeeDao.get(id);
	}
	
	@Override
	public List<ZtzbProcessEmployeeDO> list(Map<String, Object> map){
		return ztzbProcessEmployeeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ztzbProcessEmployeeDao.count(map);
	}
	
	@Override
	public int save(ZtzbProcessEmployeeDO ztzbProcessEmployee){
		return ztzbProcessEmployeeDao.save(ztzbProcessEmployee);
	}
	
	@Override
	public int update(ZtzbProcessEmployeeDO ztzbProcessEmployee){
		return ztzbProcessEmployeeDao.update(ztzbProcessEmployee);
	}
	
	@Override
	public int remove(Long id){
		return ztzbProcessEmployeeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return ztzbProcessEmployeeDao.batchRemove(ids);
	}
	
}
